ResourceManager Class Reference

#include <ResourceManager.h>

List of all members.

Public Member Functions

 ResourceManager (void)
 ~ResourceManager (void)
void cleanUpResources (bool endOfGame)
void freeUsedResources (SPTR< Node > node)
void freeUsedResources (SPTR< Renderer > renderer)
void setGameManager (GameManager *manager)
bool loadXModel (std::string filename, Object3d *myObject)
IDirect3DTexture9 * loadTexture (std::string filename, bool alwaysNeeded=false)
FSOUND_SAMPLE * loadSound (std::string filename, bool loadAsLoop)


Detailed Description

ResourceManager class

Constructor & Destructor Documentation

ResourceManager::ResourceManager ( void   ) 

Constructor for ResourceManager object

ResourceManager::~ResourceManager ( void   ) 

Destructor for ResourceManager object


Member Function Documentation

void ResourceManager::cleanUpResources ( bool  endOfGame  ) 

Clean up the used resources

void ResourceManager::freeUsedResources ( SPTR< Node node  ) 

Free reources used by the specified node

void ResourceManager::freeUsedResources ( SPTR< Renderer renderer  ) 

Free reources used by the specified renderer

void ResourceManager::setGameManager ( GameManager manager  ) 

Set the GameManager

bool ResourceManager::loadXModel ( std::string  filename,
Object3d myObject 
)

Used to load a *.x model

IDirect3DTexture9 * ResourceManager::loadTexture ( std::string  filename,
bool  alwaysNeeded = false 
)

Used to load a texture

FSOUND_SAMPLE * ResourceManager::loadSound ( std::string  filename,
bool  loadAsLoop 
)

Used to load sound


The documentation for this class was generated from the following files:
Generated on Sun Oct 7 01:15:32 2007 for Adaptive Soft Shadows by  doxygen 1.5.3